package com.sxbcar.simplifybutterknife;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.sxbcar.butterknife.ButterKnife;
import com.sxbcar.butterknife_annotations.BindView;

public class MainActivity extends AppCompatActivity {
    @BindView(R.id.tv_name)
    TextView tv_name;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
        tv_name.setText("哈哈哈哈");
    }
}
